home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / man / cat3 / XmTrackingEvent.z / XmTrackingEvent
Encoding:
Text File  |  2003-11-18  |  3.0 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmTTTTrrrraaaacccckkkkiiiinnnnggggEEEEvvvveeeennnntttt((((3333XXXX))))       UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV       XXXXmmmmTTTTrrrraaaacccckkkkiiiinnnnggggEEEEvvvveeeennnntttt((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       _X_m_T_r_a_c_k_i_n_g_E_v_e_n_t - A Toolkit function that provides a modal
  10.       interaction
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.       #include <Xm/Xm.h>
  14.  
  15.       Widget XmTrackingEvent (wwwwiiiiddddggggeeeetttt,,,, ccccuuuurrrrssssoooorrrr,,,, ccccoooonnnnffffiiiinnnneeee____ttttoooo,,,, eeeevvvveeeennnntttt____rrrreeeettttuuuurrrrnnnn)
  16.            _W_i_d_g_e_t     wwwwiiiiddddggggeeeetttt;
  17.            _C_u_r_s_o_r     ccccuuuurrrrssssoooorrrr;
  18.            _B_o_o_l_e_a_n     ccccoooonnnnffffiiiinnnneeee____ttttoooo;
  19.            _X_E_v_e_n_t     *eeeevvvveeeennnntttt____rrrreeeettttuuuurrrrnnnn;
  20.  
  21.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  22.       _X_m_T_r_a_c_k_i_n_g_E_v_e_n_t provides a modal interface for selection of
  23.       a component.    It is intended to support context help.     The
  24.       function grabs the pointer and discards succeeding events
  25.       until    _B_S_e_l_e_c_t    is released or a key is    pressed    and then
  26.       released. The    function then returns the widget or gadget
  27.       that contains    the pointer when _B_S_e_l_e_c_t is released or    a key
  28.       is released.
  29.  
  30.       wwwwiiiiddddggggeeeetttt
  31.            Specifies the widget ID of a widget to use as the basis
  32.            of the modal interaction.  That is, the widget within
  33.            which the interaction must occur, usually a top level
  34.            shell.
  35.  
  36.       ccccuuuurrrrssssoooorrrr
  37.            Specifies the cursor to be used for the pointer during
  38.            the interaction.     This is a standard X cursor name.
  39.  
  40.       ccccoooonnnnffffiiiinnnneeee____ttttoooo
  41.            Specifies whether or not    the cursor should be confined
  42.            to wwwwiiiiddddggggeeeetttt.
  43.  
  44.       eeeevvvveeeennnntttt____rrrreeeettttuuuurrrrnnnn
  45.            Returns the ButtonRelease or KeyRelease event that
  46.            causes the function to return.
  47.  
  48.      RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
  49.       Returns the widget or    gadget that contains the pointer when
  50.       _B_S_e_l_e_c_t is released or a key is released.  If    no widget or
  51.       gadget contains the pointer, the function returns NULL.
  52.  
  53.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  54.       _X_m_T_r_a_c_k_i_n_g_L_o_c_a_t_e(_3_X).
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 11/11/03)
  64.  
  65.  
  66.  
  67.